package cn.qicaiwang.open.qxyApi.server;

import cn.qicaiwang.open.common.response.ResponseResult;
import com.alibaba.fastjson.JSONObject;

import java.io.IOException;

public interface QxyApiServer {
    JSONObject getAccessToken() throws IOException, Exception;

    JSONObject getAccessTokenFromCache();

    JSONObject refreshAccessToken();

    JSONObject etaxCookie(String requestBody) throws Exception;

    JSONObject insight(String requestBody) throws Exception;

    JSONObject etaxpushsms(String requestBody) throws Exception;

    Boolean beginFinTask(String requestBody) throws Exception;

    ResponseResult pushSmsAndBeginTask(String requestBody) throws Exception;

    Boolean getTaxAndFpInfo(String requestBody) throws Exception;


    Integer getReportCount(String userId);
}
